/*
 * EditorFactory.java
 */

package xq.swing;

import java.io.File;
import java.io.IOException;

/**
 *
 * @author ThorntonRP
 */
public interface EditorFactory {

	public abstract boolean acceptsContentType(String contentType);
	
	public abstract Editor createEditor(String contentType);

	public abstract Editor createEditor(String contentType, File f) throws IOException;
}
